package com.gem.day11.homework;

import java.util.ArrayList;
import java.util.List;

public class Poker {

	List<Card> cards;

	public Poker() {
		cards = new ArrayList<>();
		Card card = null;
		//添加52张扑克牌	
		for (Suit s : Suit.values()) {
			for (Rank r : Rank.values()) {
				card = new Card(s, r);
				cards.add(card);
			}
		}
	}

	public List<Card> getCards() {
		return cards;
	}
}
